﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AccountAdmin/AdminMaster.master" AutoEventWireup="true" CodeBehind="Insert.aspx.cs" Inherits="PRJ_LDW_Eutoliso.AccountAdmin.Noticia.Insert" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headTile" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body_pre_central" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="body_central_first" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="body_central" runat="server">


    <!-- Start Box -->
    <div class="boxes-full">

        <div class="boxes-padding fullpadding">

            <!-- Start None Split Section -->
            <div class="splitnone">

                <div id="portfolio-container">


                    <!-- Start 4 column portfolio -->
                    <div class="element web">

                        <div class="col1">
                            <div class="wrapper_01">

                                <div class="wrapper_01">

                                    <h3>
                                        <div class="wrapper_01">
                                            <li class="under_02"><a href="/AccountAdmin/Home.aspx" title="" class="active">Página Inicial</a></li>
                                            <li class="under_02"><a href="#">Anúncios</a></li>
                                            <li class="under_02"><a href="#">Meus Dados</a></li>
                                            <li class="under_02"><a href="/AccountAdmin/Noticia/Home.aspx" title="" class="active">Notícias</a></li>
                                        </div>
                                    </h3>

                                </div>

                            </div>
                        </div>

                    </div>

                    <div class="element graphic">

                        <asp:Label ID="msgImgInserida" runat="server" Text="Imagem 1 Inserida " Visible="False" ForeColor="#CC3300"></asp:Label>
                        <br />

                        <br />

                        <asp:Image ID="Image1" runat="server" />

                        <br />

                        <br />

                        <br />

                    </div>

                    <div class="element logo">
                  <h2> Inserir Notícia </h2>

                         <br />
                        <br />
                        <table>
                            <tr>
                                <td>
                                   <h3> <asp:Label ID="Label2" runat="server" Text="Título" Width="100" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTitulo" runat="server" Width="300px" CssClass="contacttextform"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                   <h3> <asp:Label ID="Label7" runat="server" Text="Data" Width="110" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDate1" runat="server" Width="150px" CssClass="contacttextform"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                  <h3>  <asp:Label ID="Label4" runat="server" Text="Imagem" Width="100" /> </h3>
                                </td>
                                <td>
                                    <asp:FileUpload ID="FileUploadControl" runat="server" CssClass="contacttextform"  Width="300px"/>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                 <h3>   <asp:Label ID="Label5" runat="server" Text="Vídeo" Width="100" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtVideo" runat="server" Width="300px" CssClass="contacttextform"></asp:TextBox>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                 <h3>   <asp:Label ID="Label6" runat="server" Text="Categoria" Width="100" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCategoria" runat="server" Width="300px" CssClass="contacttextform"></asp:TextBox>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                 <h3>   <asp:Label ID="Label1" runat="server" Text="Desc. Breve" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDescBreve" runat="server" Height="82px" Width="300px" CssClass="contacttextform" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>

                            <tr>
                                <td>
                                 <h3>   <asp:Label ID="Label3" runat="server" Text="Desc. Grande" /> </h3>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDescGrande" runat="server" Height="382px" Width="300px" CssClass="contacttextform" TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>

                        </table>
                        <br />
                        <table>
                            <tr>
                                
                                <td>
                                    <asp:LinkButton ID="btnInserir" runat="server" Text="Inserir" CssClass="smallsmoothrectange orangebutton" OnClick="btnInserir_Click" />&nbsp;<asp:LinkButton CssClass="smallsmoothrectange orangebutton" ID="btnCancelar" runat="server" Text="Cancelar" OnClick="btnCancelar_Click" />
                                </td>

                            </tr>

                        </table>


                        <br />
                         &nbsp;<a href="Home.aspx" class="smallsmoothrectange orangebutton">Mostrar todos</a>
                        <asp:Label runat="server" ID="StatusLabel" ForeColor="Red" Text="" />
                        <br />
                        <asp:Label ID="lblMsg" runat="server" Text="Item inserido com sucesso!" ForeColor="Red" Visible="False"></asp:Label>
                        <asp:Label ID="lblMsgException" runat="server" ForeColor="Red" Text="Ocorreu um problema ao inserir o item.!" Visible="False"></asp:Label>
                        <br />

                       



                    </div>

                    <!-- End 4 column portfolio -->

                </div>

            </div>
            <!-- End None Split Section -->

        </div>

    </div>
    <!-- End Box -->



</asp:Content>
